package com.design.mediator.shopcenter;

public class MediatorShoppingMallDemo {
    public static void main(String[] args) {
        ShoppingMall shoppingMall = new ShoppingMall();

        Shop shop1 = new Shop("Fashion World", shoppingMall);
        Shop shop2 = new Shop("Tech Haven", shoppingMall);

        shop1.rentSpace(1000); // Shop 1 rents 1000 sq. ft. space
        shop2.rentSpace(800);  // Shop 2 rents 800 sq. ft. space

        shop1.promote("20% off on clothing!"); // Shop 1 promotion
        shop2.promote("Buy 1 get 1 free on gadgets!"); // Shop 2 promotion
    }
}
